function greeter(person:string) {
    return "Hello, " + person;
}

// document.body.innerHTML = greeter({name:"Jane"});
document.body.innerHTML = greeter("Jane");

/* 错误调用无法通过编译 */
// document.body.innerHTML = greeter({name:"Jane"});
// document.body.innerHTML = greeter(89757);